<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>商品详情页面-熊猫优选</title>
    <link rel="stylesheet" href="../css/reset.css">
    <link rel="stylesheet" href="../css/swiper-bundle.min.css">
    <link rel="stylesheet" href="../css/index.css">
    <link rel="stylesheet" href="../css/productDetail.css">

</head>

<body>
    <!-- 顶部 -->
    <div id="header">
        <div class="container clearfix">
            <a href="#/" class="logo">
                <img src="../static/images/logo.png" alt="">
                <div class="pagename">
                    <h1>熊猫优选</h1>
                    <sapn class="pinyin">XIONG&nbsp;MAO&nbsp;YOU&nbsp;XUAN</sapn>
                </div>
            </a>
            <form action="#">
                <div class="searchDiv"></div>
                <input type="text" name="search" id="search" placeholder="搜索商品，发现更多优惠">
                <div class="sbtn" onclick="search()">搜索</div>
            </form>
            <div class="promise clearfix">
                <div class="promiseItem">
                    <img src="../static/images/baoyou.png" alt="">
                    <div>全程包邮</div>
                </div>
                <div class="promiseItem">
                    <img src="../static/images/seven-day.png" alt="">
                    <div>7天退换</div>
                </div>
                <div class="promiseItem">
                    <img src="../static/images/ok.png" alt="">
                    <div>品质保障</div>
                </div>
            </div>

        </div>
    </div>

    <!-- 导航栏 -->
    <div id="nav">
        <div class="container">
            <ul class="clearfix">
                <li class="active"><a href="./index.html">首页</a></li>
            </ul>
            <div class="toCar"><a href="./shopCar.html">我的购物车</a></div>
        </div>
    </div>
    <aside></aside>
    <script type="text/html" id="detail-data">
        <!-- 商品详细信息 卖家信息 -->
    <div id="productMsg">
        <div class="container clearfix">
            <div class="product clearfix">
                <div class="bigClass-container">
                    <ul class="clearfix tabUl">

                        <li><img src="{{detailData.detail.photo[0].url}}" alt=""></li>

                    </ul>
                    <div class="box"></div>
                    <div class="bigClass"><img src="{{detailData.detail.photo[0].url}}" alt=""></div>
                    <ol class="clearfix tabOl">
                        {{each detailData.detail.photo}}
                        <li><img src="{{$value.url}}" alt=""></li>
                        {{/each}}
                    </ol>
                </div>

                <div class="fontDesc">
                    <div class="title">
                        {{if detailData.detail.platform == 1}}
                        <img src="../static/images/tao.png">
                        {{else}}
                        <img src="../static/images/tianmao.png" alt="">
                        {{/if}}
                        <img style="width:40px; margin:2px 5px;" src="../static/images/ship.png">
                        {{detailData.detail.title}}
                    </div>
                    <div class="priceSell">
                        <p>原价:￥{{detailData.detail.tbOriginPrice}}</p>
                        <div class="nowPrice">券后价：￥<span class="priceAmount">{{detailData.detail.price}}</span> <span
                                class="quan">{{detailData.detail.couponValue}}</span>
                            <span class="sellNum">{{detailData.detail.saleNum}}人已买</span></div>
                    </div>
                    <div class="buy">
                        <p>优惠有效期：{{detailData.detail.expireDate}}</p>
                        <button type="button" style="margin-right: 20px;"
                            onclick="toShopCar({{detailData.detail.id}})">加入购物车</button>
                        <button type="button" onclick="toBuy({{detailData.detail.fetchTbItemUrl}})">领券购买</button>
                    </div>
                </div>
            </div>
            <div class="seller">
                <div class="stitle">
                    <fieldset>
                        <legend>卖家信息</legend>
                    </fieldset>
                </div>

                <img src="{{detailData.shop.coverUrl}}" alt="">
                <p>{{detailData.shop.title}}</p>
                <ul>
                    <li>描述<span>{{detailData.shop.itemScore}}</span></li>
                    <li>服务<span>{{detailData.shop.serviceScore}}</span></li>
                    <li>物流<span>{{detailData.shop.deliveryScore}}</span></li>
                </ul>
            </div>
        </div>
    </div>
    <!-- 商品图片展示 -->
    <div id="productImg">
        <div class="container">
            {{each detailData.detail.descContentList}}
            <img src="{{$value.image.url}}" alt="">
            {{/each}}
        </div>
    </div>
    </script>
    <!-- 返回顶部 -->
    <div id="backTop">
        <img src="../static/images/back-top.png" alt="">
    </div>



    <!-- 页脚 -->
    <div id="footer">
        <div class="container">
            <div class="logoApp clearfix">
                <img src="../static/images/logo-footer.png" alt="">
                <div class="fontDesc">
                    <h2>熊猫优选</h2>
                    <p>年轻人网购首选</p>
                    <p> 购物领券更省钱</p>
                </div>
                <a class="download">|&emsp;下载APP</a>
            </div>
            <div class="copyReg"><img src="../static/images/gongan.png" alt="">浙公安网备案 33010602009949号 | ICP备案号:
                浙ICP备17012864号-1 | <img src="../static/images/zhengzhao.png" alt=""> 证照信息</div>
        </div>
    </div>
    <!-- 全国安全可信网站 -->
    <div id="safe">
        <div class="container">
            <a href="https://xinyong.yunaq.com/certificate?site=www.xiongmaoyouxuan.com"><img
                    src="../static/images/safe.png" alt=""></a>
        </div>
    </div>

    <script src="../js/template-web.js"></script>
    <script src="../js/jquery-3.6.0.js"></script>
    <script src="../js/index.js"></script>
    <script src="../js/productDetail.js"></script>
    <script src="../js/swiper-bundle.min.js"></script>

</body>

</html>